Websydian v6.1 online documentationOnline documentation - Websydian v6.5

Socket timeout or read error

The information in this article applies to

Symptoms

During normal operations Websydian or Plex runtime reports socket timeout or read error:

Causes

Resolution

Connection is lost because of firewall disconnecting idle connections

Most firewalls have a setup that automatically disconnects idle connections after 1 hour of idle time.

Websydian Web Server Component

In order to keep the connection active Websydian have incorporated a keep alive option for the Websydian Web Server Component:

In the property file of the Websydian Web Server Component make sure that you set the parameter servlet.alivetime to 900 indicating that a keep alive package is sent every ½ an hour.

Websydian J2EE Proxy

Obtain the latest Websydian J2EE proxy runtime from Websydian.

Add the following parameters to your J2EEProxy.prop file

servlet.plex.plexruntime.timeout=30

servlet.plex.plexruntime.maxpoolruntimes=10